import { http } from '@/utils/request';

/**
 * 获取文章详情
 * @param type
 */
export function getArticleDetailByType(type: string) {
  return http.request({
    url: `/other/article/type/${type}`,
    method: "GET",
  });
}

/**
 * 获取文章详情
 * @param type
 */
export function getArticleDetailById(id: string) {
  return http.request({
    url: `/other/article/get/${id}`,
    method: "GET",
  });
}

/**
 * 营业执照
 * @param id
 */
export function getLicensePhoto(id: string) {
  return http.request({
    url: `/store/store/get/licencePhoto/${id}`,
    method: "GET",
  });
}
